package com.lianzhihui.romeex.ogdb;


import com.lianzhihui.romeex.MyApplication;
import com.lianzhihui.romeex.config.AppConstants;

/**
 * Copyright (C), 2019-2019, wase_five
 * FileName: Constants
 * Author: echo
 * Date: 2019/11/13 14:49
 * Description: 常亮
 * History:
 * <author> <time> <version> <desc>
 * 作者姓名 修改时间 版本号 描述
 */
public class Constants {

    public static final String ISFINGERPRINT_KEY = "fingerprint";
    public static final String OPEN_EYE = "open_assets_eye";
    public static final String OPEN_COUNTRY_WALLET_EYE = "open_country_assets_eye";
    public static final String FRISTLOADTAG = "frist_load_key_version_1";
    public static final String RESULT_USERS = "result_users";


    //生物识别
    public static final String RECOGNITION_KEY = "recognition";
    //启动也广告
    public static final String START_AD = "start_ad";
    //币种
    public static final String MONEY_TYPE_KEY = "money_type";


    public static final String CONUTRY_MONEY_TYPE_KEY = "country_money_type";
    public static final String QRCODE_STR = "4ceb23445d00fafacd7dc18032432f8e";
    //友盟
    public static final String YOUMENG_APPKEY = "5e8c1d87167edd302f00012b";
    public static final String YOUMENG_CANCEL = "5wave_android";
    //Bugly
    public static final String BUGLY_APP_KEY = "c2683251d1";
    //
    public static final String VERIFY_CODE_KEY = "e30ade9456bf4527aef771fe722e5536";
    //TODO CONFIG
    public static final String XIAOE_APPID = "apppSzqKquJ9100";
    public static final String XIAOE_CLIENT_ID = "CtCDDb5szS4P";
    public static final String XIAOE_H5_URL = "https://apppSzqKquJ9100.h5.xiaoeknow.com";
    public static final int IM_SDK_APPID = 1400363790;


    public static String getSTAMP_KEY(){
        if (MyApplication.environment == AppConstants.AppStatus.TEST){
            return "5872eaf3fbd8419b98de7a9a6bf58dc03cf7542f25a4478a93667da73b57f328aea17282e26d4e25931402daa9a8d0b8cdeaa50d8abb4aae9980c28e73ebcc87";
        }else {
            return "b59d16cf805e4161b9991def74d80474e95a6c8b2401409d9261e5398286e9db57639f2ee8f24d80a4ae7f49bc3e444b6fb47dc281344b4f95202d4f136c40ac";
        }
    }

    public static class AppStatus {
        public static final int STATUS_RECYCLE = -1; //被回收
        public static final int STATUS_NORMAL = 1;    //正常
    }

    public static class  Event {
        public static final int RESULT_MONEY_TYPE = 1001;
        public static final int RESULT_SALE_TYPE = 1002;
        public static final int RESULT_BUY_TYPE = 1003;
        public static final int RESULT_BANK_TYPE = 1004;
        public static final int RESULT_MARKET_TYPE = 1005;
        public static final int RESULT_BANKCARD = 1006;
        public static final int RESULT_RECHARGE_TYPE = 1007;
        public static final int RESULT_CHAT_RED = 1008;
        public static final int RESULT_CHAT_TRANS = 1009;
    }
}
